package com.fancy.music.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_song_play_stats")
public class SongPlayStats {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long songId;
    private Long playCount; // 总播放次数
    private Long dailyPlayCount; // 日播放次数
    private Long weeklyPlayCount; // 周播放次数
    private Long monthlyPlayCount; // 月播放次数
    private Date lastUpdateDate; // 最后更新日期
    private Date updateTime;
}
